<%@ page language="java" contentType="text/html; charset=EUC-KR" pageEncoding="EUC-KR"%>
<%@ include file="/WEB-INF/util_file/common.jspf"%>
<style>
#admin_product {
	font: 12px/1.2 "돋움", dotum, bold;
}

th {
	background-color: #f1f1f1
}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="/auction/js/jquery.table.addrow.js"></script>
<script type="text/javascript">
	$(document).ready( function(){
		$(".addRow").btnAddRow(); //추가
		$(".delRow").btnDelRow(); //삭제
		
		
		/* //코드 타이틀 삽입
		$("#BtnCodeTitle").click(function(){
			var obj = $("#codetitle").serialize();
			$.post('/jeons/admin/code/titleinsert',obj,function(data){
				if (data=="true") {
					alert("코드 타이틀 등록 완룍");
				}
				location.reload();
			
			}); 
		});
		
		//코드 리트스 추가
		$("#BtnCodeList").click(function(){
			$.post('/jeons/admin/code/listinsert',$("#codelist").serialize(),function(data){
				if (data=="true") {
					alert("코드 리스트 등록 완룍");
				}
				location.reload();
			
			}); 
		}); */
		
	});	
</script>
<fieldset class="autotab ui-widget ui-widget-content ui-corner-all">
	<div>원하는 코드명을 넣어주세요!</div>
</fieldset>
<Br>
<fieldset class="autotab ui-widget ui-widget-content ui-corner-all">
	<form id="codetitle">
		<table border="0" width="650px" height="50">
			<tr>
				<td colspan="3" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th align="center">코드명("한글")</th>
				<th align="center">코드명("영어")</th>
				<th align="center"><button type="button" id="add"
						class="addRow">코드추가</button></th>
			</tr>
			<tr>
				<td colspan="3" bgcolor="#ffffff" height="1"></td>
			</tr>
			<tr>
				<td colspan="3" bgcolor="#ffffff" height="1"></td>
			</tr>
			<tr align="center">
				<td><input type="text" name="kor_cd_title" /></td>
				<td><input type="text" name="eng_cd_title" /></td>
				<td><button type="button" class="delRow">삭제</button></td>
			</tr>
			<tr>
				<td colspan="3" bgcolor="#ffffff" height="1"></td>
			</tr>
			<tr>
				<td colspan="3" bgcolor="#ffffff" height="1"></td>
			</tr>
		</table>
		<div align="right">
			<button type="button" id="BtnCodeTitle">코드등록</button>
		</div>
	</form>
</fieldset>